#!/bin/bash
io_write_speed=100M

# 内存文件
# target="/tmp/file"
# 磁盘文件
target="file"

while true
do
    dd if=/dev/zero of=$target count=1 bs=$io_write_speed
    sleep 1
done
